/**
*      author: Y_Yao
*      created: 2025-02-07 21:32:34
**/

#include<bits/stdc++.h>

#define int LL
using namespace std;
using LL = long long;
const LL LLINF = 1e18;
const int INF = 0x3f3f3f3f;
double a,b,c,d,l,r;

double f(int x)
{
    return a * x * x * x + b * x * x + c * x + d;
}

void solve()
{
    cin >> a >> b >> c >> d;
    int count = 0;
    for(int i = -100;i < 100;i++)
    {
        l = i;
        r = i + 1;
        double x1 = f(l);
        double x2 = f(r);
        if(x1 == 0)
        {
            printf("%.2lf ",l);
            count++;
            continue;
        }

        if(x1 * x2 < 0)
        {
            while(l - r < 0.001)
            {
                double mid = (r + l) / 2;
                if(f(mid) * f(l) < 0) r = mid;
                else l = mid;
            }
            printf("%.2lf ",l);
            count++;
        }
        if(count == 3) break;
    }
}

signed main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);

    int t = 1;
    //cin >> t;
    while(t--)
    {
        solve();
    }
    return 0;
}